use of inner function python

visit shbcf.ru